.AppBox {
  height: 100%;
  width: 100%;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  transition: transform ease-in-out 0.2s;

  .transformHover {
    &:hover {
      transform: translateY(-4px);
    }
  }

  .box {
    .appCompBg();
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    -webkit-user-select: none;
    user-select: none;

    &:active {
      transform: scale(0.99, 0.99);
      box-shadow: 0 0 4px rgba(var(--design-rgba-distant), 0.2) !important;
    }
  }

  .shadowHover {
    &:hover {
      box-shadow: 0 0 10px rgba(var(--design-rgba-distant), 0.2) !important;
    }

    &:active {
      box-shadow: 0 0 8px rgba(var(--design-rgba-distant), 0.2) !important;
    }
  }

  .shadowAlways {
    box-shadow: 0 0 10px rgba(var(--design-rgba-distant), 0.2) !important;
  }



  .close {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(var(--design-rgba-near), 0.3);
    top: -8px;
    right: -8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.1s;

    &:hover {
      transform: scale(1.2, 1.2);
    }
  }
}

.AppBoxEdit {
  animation: AppBoxEdit 0.2s ease infinite;
}

.title {
  height: 32px;
  line-height: 24px;
  text-align: center;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--design-bg-color-5);
}

@keyframes AppBoxEdit {
  0% {
    transform: rotateZ(-2deg);
  }

  25% {
    transform: rotateZ(2deg);
  }

  50% {
    transform: rotateZ(2deg);
  }

  100% {
    transform: rotateZ(-2deg);
  }
}